package zhang.lao.pojo.api.req.app;/**
 * Created by zhangqin on 2018/1/12.
 */

import org.hibernate.validator.constraints.NotBlank;
import zhang.lao.pojo.api.req.ApiReqBody;

/**
 * @author
 * @create 2018-01-12 10:37
 **/
public class ApiUplatlngReq extends ApiReqBody {
    @NotBlank
    private String userId;
    @NotBlank
    private String latitude;
    @NotBlank
    private String longitude;
    @NotBlank
    private String altitude;
    @NotBlank
    private String accuracy;
    @NotBlank
    private String heading;
    @NotBlank
    private String speed;
    @NotBlank
    private String timestamp;
    private int locationType =1;
    public String getUserId() {
        return userId;
    }

    public String getLatitude() {
        return latitude;
    }

    public int getLocationType() {
        return locationType;
    }

    public void setLocationType(int locationType) {
        this.locationType = locationType;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getAltitude() {
        return altitude;
    }

    public void setAltitude(String altitude) {
        this.altitude = altitude;
    }

    public String getAccuracy() {
        return accuracy;
    }

    public void setAccuracy(String accuracy) {
        this.accuracy = accuracy;
    }


    public String getHeading() {
        return heading;
    }

    public void setHeading(String heading) {
        this.heading = heading;
    }

    public String getSpeed() {
        return speed;
    }

    public void setSpeed(String speed) {
        this.speed = speed;
    }

    public String getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }
}
